import React, { Component } from 'react';
import Demochilds from './父传子/Parent'
//书写组件
class DemoComp extends Component{
    state = {}
    render(){
        return(
            <div>
                <h2>案例.组件之间传值</h2>
                <Demochilds/>
            </div>
        )
    }
}
export default DemoComp;